<?php 
require_once("inc/instalador.class.php");
require_once("inc/config.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>EP - Instalador.</title>
<style type="text/css">
<!--
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #000000;
	text-decoration: none;
	background-color: #F4F4F4;
}
#principal {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #000000;
	text-decoration: none;
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC;
	width: 640px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}
#principal #topo h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 17px;
	color: #336699;
	text-decoration: none;
	margin: 0px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCCCCC;
	background-image: url(favicon.jpg);
	background-repeat: no-repeat;
	height: 50px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 50px;
	vertical-align: middle;
}
#principal #topo {
	margin-bottom: 15px;
}
#principal #rodape {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #666666;
	text-decoration: none;
	margin-top: 20px;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #CCCCCC;
}
.texto-1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #000000;
	text-decoration: none;
}
-->
</style>
</head>

<body>
<div id="principal">
	<div id="topo">
		<h1>Instala&ccedil;&atilde;o</h1>
	</div>
	<div id="conteudo">
	<?php 
	
	$p	=	$_GET['p'];
	
	if($p){
		include($p."-passo.php");
		}else{
		print("<script>document.location='index.php';</script>");
		}
	
	?>
	
	</div>
	<div id="rodape">&copy;2000 - <?php echo date("Y"); ?> Eliel de Paula - Direitos reservados - Instalador <?php echo $conf_versao; ?></div>
</div>
</body>
</html>
